/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: syyyy
 * Date: 2025-07-04
 * Time: 11:45
 */
public class Base extends Sub {
    private int c;

    public Base(int a, int b,int c) {
        super(a, b);
        this.c=c;
    }


    public int getC() {
        return c;
    }

    public int calculate(){
        return this.getA()*this.getB()*this.getC();
    }
}
